package com.afalon.cloud.contracts.finance;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.jdo.annotations.Extension;
import javax.jdo.annotations.IdGeneratorStrategy;
import javax.jdo.annotations.PersistenceCapable;
import javax.jdo.annotations.Persistent;
import javax.jdo.annotations.PrimaryKey;

@PersistenceCapable
@XmlRootElement(name = "statement")
@XmlAccessorType(XmlAccessType.PROPERTY)
public class Statement 
{
	
	@PrimaryKey
	@Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY)
    @Extension(vendorName="datanucleus", key="gae.encoded-pk", value="true")
    private String statementid;
	
	@Persistent
	private String description;
	
	@Persistent
	private String date;
	
	@Persistent
	private String accountid;

	public Statement() 
	{
		
	}

	public void setStatementid(String value) {
		// Do nothing.
	}
	
	public String getStatementid() {
		return statementid;
	}

	public void setDescription(String value) {
		description = value;
	}

	public String getDescription() {
		return description;
	}

	public void setDate(String value) {
		date = value;
	}

	public String getDate() {
		return date;
	}

	public void setAccountid(String value) {
		accountid = value;
	}

	public String getAccountid() {
		return accountid;
	}
	
}
